import {RouteRecordRaw} from 'vue-router'
import CustomLayout from '@/layout/CustomLayout.vue'

export default [
  {
    path: '/search',
    name: 'search',
    component: CustomLayout,
    children: [
      {
        path: 'online-search',
        name: 'online_search',
        component: () => import('@/views/search/online_search.vue')
      },
      {
        path: 'data-dict',
        name: 'data_dict',
        component: () => import('@/views/search/data_dict.vue')
      },
      {
        path: 'permission_manage',
        name: 'permission_manage',
        component: () => import('@/views/search/permission_manage.vue')
      }
    ]
  }
] as RouteRecordRaw[]
